﻿<%@ Page Title="Extender estadia" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ExtenderEstadiaHospede.aspx.cs" Inherits="TCC_Hotel.Apresentacao.FluxoHospedesAgora.ExtenderEstadiaHospede" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 280px;
        }
    </style>
    <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="../../Scripts/Mascaras.js" type="text/javascript"></script>
    <script src="../../Scripts/ReservaParticular.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:Label ID="lblAviso2" runat="server" Text="- O campo com * é obrigatório" ForeColor="Red"></asp:Label>
    </div>
    <p class="title-telas">
        Estender estadia</p>
    <div style="margin-bottom: 0px">
         <fieldset>
            <legend id="legend2" runat="server">
                <asp:Label ID="Label2" runat="server" Text="Detalhes da estadia"></asp:Label></legend>
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblDataInicio" runat="server" Text="Data inicial:"></asp:Label><br />
                        <asp:TextBox ID="txtDataInicio" Enabled="false" runat="server" Width="150px" MaxLength="10"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lbldataFinal" runat="server" Text="Nova data final:"></asp:Label>
                        <asp:Label ID="lblVerificacaoDataFinal" runat="server" Text="*" ForeColor="Red"></asp:Label>
                        <br />
                        <asp:TextBox onkeyup="formataData(this,event);" ID="txtDataFinal" runat="server"
                            Width="150px" MaxLength="10" AutoPostBack="True" OnTextChanged="txtDataFinal_TextChanged"></asp:TextBox>
                        <asp:Button ID="btnVerificaDisponibilidade" runat="server" OnClick="btnVerificarDisponibilidade_Click"
                            class="BotaoCEP" />
                        <asp:CalendarExtender ID="txtDataFinal_CalendarExtender" runat="server" TargetControlID="txtDataFinal"
                            Format="dd/MM/yyyy">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblApartamento" runat="server" Text="Apartamento:"></asp:Label><br />
                        <asp:TextBox ID="txtApartamento" Enabled="false" runat="server" Width="150px" MaxLength="20"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblNome" runat="server" Text="Nome:"></asp:Label>
                        <br />
                        <asp:TextBox ID="txtNome" runat="server" Width="200px" MaxLength="35" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblDiarias" runat="server" Text="Diarias a mais:"></asp:Label><br />
                        <asp:TextBox ID="txtDiarias" Enabled="false" runat="server" Width="100px" MaxLength="20"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblPreco" runat="server" Text="Preço a mais(R$):"></asp:Label><br />
                        <asp:TextBox CssClass="PrecoQuantidade" ID="txtPreco" Enabled="false" runat="server" Width="70px" MaxLength="20"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div align="left" style="width: 56%; float: left">
            <asp:Button ID="btnConfirmar" runat="server" Text="Confirmar" Width="100px" OnClick="btnConfirmar_Click" />
            <asp:Button ID="btnVoltar" runat="server" Text="Voltar" Width="100px" OnClick="btnVoltar_Click" />
        </div>
    </div>
</asp:Content>
